
#include "Interpreter.h"
#include <memory>
#include <iostream>

using namespace npInterpreter;
using namespace std;


void doInterpreter()
{
    string instructions = "up move 5 and down run 10 and left move 5";
    unique_ptr<Interpreter> interpreter(new Interpreter());
    interpreter->handler(instructions);
    cout << "instructions: " << instructions << endl;
    cout << interpreter->output() << endl;
}